<!-- INCLUDE overall_header.html -->
<div class="sidebar">
<!-- INCLUDE sidebar.html -->
</div>
<div class="content">
<!-- IF S_FORUM_RULES -->
	<div class="forumrules">
		<!-- IF U_FORUM_RULES -->
			<strong><span style="color: #FF0000;">&bull;&nbsp;{L_FORUM_RULES}</span></strong><br />
			<a href="{U_FORUM_RULES}"><b>{L_FORUM_RULES_LINK}</b></a>
		<!-- ELSE -->
			<strong><span style="color: #FF0000;">&bull;&nbsp;{L_FORUM_RULES}</span></strong><br />{FORUM_RULES}
		<!-- ENDIF -->
	</div>

	<br clear="all" />
<!-- ENDIF -->

<!-- IF S_DISPLAY_ACTIVE -->
	<table class="tablebg" width="100%" cellspacing="1">
	<tr>
		<td class="cat" colspan="5"><span class="nav">{L_ACTIVE_TOPICS}</span></td>
	</tr>

		<tr>
			<td colspan="3" class="cat"><h4>{L_TOPICS}</h4></td>
			<td class="cat"><h4>{L_LAST_POST}</h4></td>
			<td class="cat" width="100">><h4>{L_STATISTICS}</h4></td>
		</tr>

	<!-- BEGIN topicrow -->

		<tr>
			<td class="row1" width="25" align="center">{topicrow.TOPIC_FOLDER_IMG}</td>
				<td class="row1" width="25" align="center"><!-- IF topicrow.TOPIC_AUTHOR_AVATAR -->{topicrow.TOPIC_AUTHOR_AVATAR}<!-- ENDIF --></td>
			<td class="row1" width="560">
				<!-- IF topicrow.TOPIC_ICON_IMG --><img src="{T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG}" width="{topicrow.TOPIC_ICON_IMG_WIDTH}" height="{topicrow.TOPIC_ICON_IMG_HEIGHT}" alt="" title="" /><!-- ENDIF -->
				<!-- IF topicrow.S_UNREAD_TOPIC --><a href="{topicrow.U_NEWEST_POST}">{NEWEST_POST_IMG}</a><!-- ENDIF -->
				{topicrow.ATTACH_ICON_IMG} <!-- IF topicrow.S_HAS_POLL or topicrow.S_TOPIC_MOVED --><span class="gennormal"><strong>{topicrow.TOPIC_TYPE}</strong></span><!-- ENDIF --><a title="{L_POSTED}: {topicrow.FIRST_POST_TIME}" href="{topicrow.U_VIEW_TOPIC}"class="topictitle">{topicrow.TOPIC_TITLE}</a>
				<!-- IF topicrow.S_TOPIC_UNAPPROVED or topicrow.S_POSTS_UNAPPROVED -->
					<a href="{topicrow.U_MCP_QUEUE}">{UNAPPROVED_IMG}</a>&nbsp;
				<!-- ENDIF -->
				<!-- IF topicrow.S_TOPIC_REPORTED -->
					<a href="{topicrow.U_MCP_REPORT}">{REPORTED_IMG}</a>&nbsp;
				<!-- ENDIF -->
				<!-- IF topicrow.PAGINATION --><span class="gensmall">({GOTO_PAGE_IMG}&nbsp;{topicrow.PAGINATION})</span><!-- ENDIF -->
				<br /><span class="gensmall">{topicrow.TOPIC_AUTHOR_FULL}</span>
			</td>
			<td class="row1" width="140" align="center">
				<p class="topicdetails" style="white-space: nowrap;">{topicrow.LAST_POST_TIME}</p>
				<p class="topicdetails">{topicrow.LAST_POST_AUTHOR_FULL}
					<!-- IF not S_IS_BOT --><a href="{topicrow.U_LAST_POST}">{LAST_POST_IMG}</a><!-- ENDIF -->
				</p>
			</td>
			<td class="row1" width="50" align="center" nowrap="nowrap"><p class="topicdetails">{L_VIEWS}:{topicrow.VIEWS}<br />{L_REPLIES}:{topicrow.REPLIES}</p></td>

		</tr>

	<!-- BEGINELSE -->

		<tr>
				<td class="row1" colspan="7" height="30" align="center" valign="middle"><span class="gen"><!-- IF not S_SORT_DAYS -->{L_NO_TOPICS}<!-- ELSE -->{L_NO_TOPICS_TIME_FRAME}<!-- ENDIF --></span></td>
		</tr>
	<!-- END topicrow -->

	<tr align="center">
		<td class="cat" colspan="5">&nbsp;</td>
	</tr>
	</table>

	<br clear="all" />
<!-- ENDIF -->

<!-- IF S_HAS_SUBFORUM -->
	<!-- INCLUDE forumlist_body.html -->
	<br clear="all" />
<!-- ENDIF -->

<div id="pagecontent">

<!-- IF S_NO_READ_ACCESS -->
	<table class="tablebg" width="100%" cellspacing="1">
	<tr>
		<td class="row1" height="30" align="center" valign="middle"><span class="gen">{L_NO_READ_ACCESS}</span></td>
	</tr>
	</table>

	<!-- IF not S_USER_LOGGED_IN -->

		<br /><br />

		<form method="post" action="{S_LOGIN_ACTION}">

		<table class="tablebg" width="100%" cellspacing="1">
		<tr>
			<td class="cat"><h4><a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a></h4></td>
		</tr>
		<tr>
			<td class="row1" align="center"><span class="genmed">{L_USERNAME}:</span> <input class="post" type="text" name="username" size="10" />&nbsp; <span class="genmed">{L_PASSWORD}:</span> <input class="post" type="password" name="password" size="10" /><!-- IF S_AUTOLOGIN_ENABLED -->&nbsp; <span class="gensmall">{L_LOG_ME_IN}</span> <input type="checkbox" class="radio" name="autologin" /><!-- ENDIF -->&nbsp; <input type="submit" class="btnmain" name="login" value="{L_LOGIN}" /></td>
		</tr>
		</table>
		
		</form>

	<!-- ENDIF -->

	<br clear="all" />
<!-- ENDIF -->

	<!-- IF S_DISPLAY_POST_INFO or TOTAL_TOPICS -->
		<table width="100%" cellspacing="0">
		<tr>
			<!-- IF S_DISPLAY_POST_INFO and not S_IS_BOT -->
				<td align="{S_CONTENT_FLOW_BEGIN}" valign="middle"><a href="{U_POST_NEW_TOPIC}">{POST_IMG}</a></td>
			<!-- ENDIF -->
				<td class="gensmall" width="100%" align="{S_CONTENT_FLOW_END}" nowrap="nowrap"><!-- INCLUDE pagination.html --></td>
		</tr>
		</table>
	<!-- ENDIF -->
	
	<!-- IF S_USER_LOGGED_IN -->
		<table class="tablebg" width="100%" cellspacing="1" style="margin-bottom: 2px;">
		<tr>
			<td class="row1" colspan="5">
				<table width="100%" cellspacing="0">
				<tr class="nav">
					<td valign="middle"><!-- IF S_WATCH_FORUM_LINK and not S_IS_BOT --><span class="watch"><a href="{S_WATCH_FORUM_LINK}">{S_WATCH_FORUM_TITLE}</a></span><!-- ENDIF --></td>
					<td align="{S_CONTENT_FLOW_END}" valign="middle"><!-- IF not S_IS_BOT and U_MARK_TOPICS --><span class="mark"><a href="{U_MARK_TOPICS}">{L_MARK_TOPICS_READ}</a></span><!-- ENDIF -->&nbsp;</td>
				</tr>
				</table>
			</td>
		</tr>
		</table>
	<!-- ENDIF -->
		
	<!-- IF not S_DISPLAY_ACTIVE and (S_IS_POSTABLE or .topicrow) -->
		<table class="tablebg" width="100%" cellspacing="1">
		<tr>
			<td colspan="3" class="cat" align="center" width="610"><h4>{L_TOPICS}</h4></td>
			<td class="cat" align="center" width="190" nowrap="nowrap"><h4>{L_LAST_POST}</h4></td>
			<td class="cat" align="center" width="100" nowrap="nowrap"><h4>{L_STATISTICS}</h4></td>
		</tr>
		<tr>
			<td class="row1" <!-- IF U_MCP -->colspan="3"<!-- ELSE -->colspan="5"<!-- ENDIF -->><!-- INCLUDE searchbox.html --></td>
			<!-- IF U_MCP --><td class="row1" colspan="2"><p class="linkmcp"><a href="{U_MCP}">{L_MCP}</a></p></td><!-- ENDIF -->
		</tr>

		<!-- BEGIN topicrow -->
			<!-- IF topicrow.S_TOPIC_TYPE_SWITCH eq 1 -->
				<tr>
					<th align="left" colspan="5"><h4>{L_ANNOUNCEMENTS}</h4></th>
				</tr>
			<!-- ELSEIF topicrow.S_TOPIC_TYPE_SWITCH eq 0 -->
				<tr>
					<th align="left" colspan="5"><h4>{L_TOPICS}</h4></th>
				</tr>
			<!-- ENDIF -->
			<tr>
				<td class="row1" width="25" align="center">{topicrow.TOPIC_FOLDER_IMG}</td>
				<td class="row1" width="25" align="center"><!-- IF topicrow.TOPIC_AUTHOR_AVATAR -->{topicrow.TOPIC_AUTHOR_AVATAR}<!-- ENDIF --></td>
				<td class="row1" width="560">
					<!-- IF topicrow.TOPIC_ICON_IMG --><img src="{T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG}" width="{topicrow.TOPIC_ICON_IMG_WIDTH}" height="{topicrow.TOPIC_ICON_IMG_HEIGHT}" alt="" title="" /><!-- ENDIF -->
					<!-- IF topicrow.S_UNREAD_TOPIC --><a href="{topicrow.U_NEWEST_POST}">{NEWEST_POST_IMG}</a><!-- ENDIF -->
					{topicrow.ATTACH_ICON_IMG} <!-- IF topicrow.S_HAS_POLL or topicrow.S_TOPIC_MOVED --><span class="gennormal"><strong>{topicrow.TOPIC_TYPE}</strong></span><!-- ENDIF --><a title="{L_POSTED}: {topicrow.FIRST_POST_TIME}" href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a>
					<!-- IF topicrow.S_TOPIC_UNAPPROVED or topicrow.S_POSTS_UNAPPROVED -->
						<a href="{topicrow.U_MCP_QUEUE}">{topicrow.UNAPPROVED_IMG}</a>&nbsp;
					<!-- ENDIF -->
					<!-- IF topicrow.S_TOPIC_REPORTED -->
						<a href="{topicrow.U_MCP_REPORT}">{REPORTED_IMG}</a>&nbsp;
					<!-- ENDIF -->
					<!-- IF topicrow.PAGINATION --><span class="gensmall">({GOTO_PAGE_IMG}&nbsp;{topicrow.PAGINATION})</span><!-- ENDIF -->
					<br /><span class="gensmall">{topicrow.TOPIC_AUTHOR_FULL}</span>
				</td>
				<td class="row1" width="140" align="right">
					<p class="topicdetails" style="white-space: nowrap;">{topicrow.LAST_POST_TIME}</p>
					<p class="topicdetails">{topicrow.LAST_POST_AUTHOR_FULL}
						<!-- IF not S_IS_BOT --><a href="{topicrow.U_LAST_POST}">{LAST_POST_IMG}</a><!-- ENDIF -->
					</p>
				</td>
					<td class="row1" align="center" nowrap="nowrap"><p class="topicdetails">{L_VIEWS}:{topicrow.VIEWS}<br />{L_REPLIES}:{topicrow.REPLIES}</p></td>
			</tr>
		<!-- BEGINELSE -->
			<!-- IF S_IS_POSTABLE -->
			<tr>
					<td class="row1" colspan="5" height="30" align="center"><span class="gensmall"><!-- IF not S_SORT_DAYS -->{L_NO_TOPICS}<!-- ELSE -->{L_NO_TOPICS_TIME_FRAME}<!-- ENDIF --></span></td>
			</tr>
			<!-- ENDIF -->
		<!-- END topicrow -->
		<!-- IF not S_IS_BOT -->
		<tr align="center">
				<th colspan="5">
					<form method="post" action="{S_FORUM_ACTION}"><span class="gensmall">{L_DISPLAY_TOPICS}:</span>&nbsp;{S_SELECT_SORT_DAYS}&nbsp;<span class="gensmall">{L_SORT_BY}</span> {S_SELECT_SORT_KEY} {S_SELECT_SORT_DIR}&nbsp;<input class="btnlite" type="submit" name="sort" value="{L_GO}" /></form>
				</th>
		</tr>
		<!-- ENDIF -->
		</table>
	<!-- ENDIF -->

	<!-- IF S_DISPLAY_POST_INFO or TOTAL_TOPICS -->
		<table width="100%" cellspacing="1">
		<tr>
			<!-- IF S_DISPLAY_POST_INFO and not S_IS_BOT -->
				<td align="{S_CONTENT_FLOW_BEGIN}" valign="middle"><a href="{U_POST_NEW_TOPIC}">{POST_IMG}</a></td>
			<!-- ENDIF -->
				<td class="gensmall" width="100%" align="{S_CONTENT_FLOW_END}" nowrap="nowrap"><!-- INCLUDE pagination.html --></td>
		</tr>
		</table>
	<!-- ENDIF -->

<!-- IF S_DISPLAY_ONLINE_LIST -->
	<table class="tablebg" width="100%" cellspacing="1">
	<tr>
		<th align="left"><span class="stats">{L_WHO_IS_ONLINE}</span></th>
		<!-- IF MODERATORS --><th align="left" width="200"><span class="stats"><!-- IF S_SINGLE_MODERATOR -->{L_MODERATOR}<!-- ELSE -->{L_MODERATORS}<!-- ENDIF --></span></th><!-- ENDIF -->
	</tr>
	<tr>
		<td class="row1"><p class="gensmall">{LOGGED_IN_USER_LIST}</p></td>
		<!-- IF MODERATORS --><td class="row1"><p class="gensmall">{MODERATORS}</p></td><!-- ENDIF -->
	</tr>
	</table>
<!-- ENDIF -->
<br clear="all" />

<!-- IF S_DISPLAY_POST_INFO -->
<div style="float: left;text-align: left;"><!-- IF S_TOPIC_MOD --><form method="post" action="{S_MOD_ACTION}"><span class="gensmall">{L_QUICK_MOD}:</span> {S_TOPIC_MOD} <input class="btnlite" type="submit" value="{L_GO}" /></form><!-- ENDIF --></div>
<div style="width: 380px;float: right;text-align: right;"><span class="gensmall"><!-- BEGIN rules -->{rules.RULE}<br /><!-- END rules --></span><br /><!-- INCLUDE jumpbox.html --></div>
<!-- ENDIF -->

</div>
</div>
<!-- INCLUDE overall_footer.html -->